<script setup lang="ts">

</script>

<template>
  <!-- <RouterLink组件：用于路由跳转> -->
  <RouterLink to="/" style="margin-right: 15px;">主页面</RouterLink>
  <RouterLink to="/home" style="margin-right: 15px;">Home</RouterLink>
  <RouterLink to="/Login" style="margin-right: 15px;">Login</RouterLink>

  <a href="/home">Home(a标签)</a>
    <!-- 必须通过RouterView完成组件渲染 -->
    <RouterView />
</template>

